package com.yuchuang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchuang.base.PageInfo;
import com.yuchuang.model.Commodity;
import com.yuchuang.model.dto.CommodityDto;
import com.yuchuang.model.vo.CommodityVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @Author:cy Date: 2023-06-16-13:09
 * Description:
 */
public interface CommodityService extends IService<Commodity> {
    List<CommodityDto> queryAll(HttpServletRequest request);
    PageInfo selectPageVo(CommodityVo commodityVo);
    int insert(Commodity commodity);
    int update(Map<String,Object> params);
    int delete(Map<String,Object> params);
}
